package com.shensi.adminCollect.domain.station;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @date 2023/12/12
 */
@Setter
@Getter
public class SuperPayOrder {

    /**
     * super_pay_id
     */
    @TableId(type = IdType.AUTO)
    private Integer superPayId;

    /**
     * super_order_no
     */
    private String superOrderNo;

    /**
     * union_id
     */
    private String unionId;

    /**
     * app_user_id
     */
    private Integer appUserId;

    /**
     * app_user_name
     */
    private String appUserName;

    /**
     * super_id
     */
    private Integer superId;

    /**
     * super_name
     */
    private String superName;

    /**
     * pay_type
     */
    private String payType;

    /**
     * amt
     */
    private BigDecimal amt;

    /**
     * create_time
     */
    private LocalDateTime createTime;

    /**
     * status 1-已支付，3-已退款
     * 2-表示手动添加，手动添加状态也为1会影响到班结，所以设为2
     */
    private String status;

    /**
     * mobile_phone
     */
    private String mobilePhone;

    /**
     * 油站id
     */
    private Integer stationId;

    /**
     * pay_way_id
     */
    private Integer payWayId;

    /**
     * service_charge
     */
    private BigDecimal serviceCharge;

    /**
     * 油企id
     */
    private Integer enterpriseId;

    /**
     * 支付时间
     */
    private LocalDateTime payTime;

    /**
     * 交易单号（微信）注:云化支付存的是云化流水号
     */
    private String transactionId;

    /**
     * 商户单号（商户）注:云化支付存的是云化订单号
     */
    private String merchantsNumber;

    private Integer invoiceStatus;


    /**
     * 特权周期
     */
    private Long cycle;

    /**
     * 特权开始时间
     */
    private LocalDateTime superStartTime;

    /**
     * 特权结束时间
     */
    private LocalDateTime superEndTime;

    /**
     * 退款时间
     */
    private LocalDateTime refundTime;


    public Integer getInvoiceStatus() {
        return invoiceStatus;
    }

    public void setInvoiceStatus(Integer invoiceStatus) {
        this.invoiceStatus = invoiceStatus;
    }
}
